OR Helper 

image56.gif

The OR Helper allows you to do binary arithmetic between two or more input data streams. OR is a logic function that generates a True condition (binary = 1) output stream when one or more input data streams are evaluated as True (1). If all of the inputs are false (binary = 0), the Out output data stream will also be false.

This is a handy way of checking multiple conditions to see if any of them are true. For instance, you may want to check to see if a particle in a specified group is a certain age or has made a collision with a selected object. Using the OR Helper, you'd pipe in the Out output data streams from both of the other rules to check for their validation. If either of the rules send a true condition, the OR Helper would output a True condition. This information could be used as a "test" to trigger another event or rule.

Operator Inputs 

ON - (Bool) This input data stream determines whether the operator is considered 'on' or 'off'. You can connect other operators to this input channel such as a Bool Helper to activate/deactivate the whole operator.

In
- (Bool) This input data stream takes in the Out output data stream condition from another operator or rule to see if it returns a True condition (Binary = 1), or a False condition (Binary = 0).

In
- (Bool) This input data stream takes in the Out output data stream condition from another operator or rule to see if it returns a True condition (Binary = 1), or a False condition (Binary = 0).

All additional In input data streams will read in the same Boolean information to determine if all of the output streams that are fed in are true.

Operator Outputs 

Out - (Bool) This output data stream sends the true or false state to other node input data streams regarding the results from the OR test. If any of the In input data streams return a True condition (Binary = 1), then the OR Helper will send out a True condition. If all of the In input data streams return a False condition (Binary = 0), then the OR Helper will send out a False condition.

Rollout Menu 

image95.gif

Num OR
- This spinner lets you set the amount of input data stream connectors that should be created and used to perform the logical OR operation. Be aware that by default, the spinner value is set to 1, which means, compare one value with ONE additional value. A spinner value of 3 would yield a total of 4 In input data streams; 1 value plus 3 more to compare it with.